<?php

class IndexAction extends Action {
    public function index(){
    	D('Post')->test();
    	$this->assign('test', 'St');
    	$this->display();
    }
    
    function test(){
    	
    	$list = D('Post')->getListByTag(2);
    	dump($list);
    }
    
    
}